<!-- Sweety S -->
<!-- NOTICE: 编辑广告监测时广告形式选为弹窗则创意包影藏 -->
<!-- sweetyOptimiza S -->
<div ms-visible="showSweety">
<div ms-visible="_showSweetyOptimiza" class="optimiza-body M-PageCreativeDetailSweetyOptimiza">
	<div class="optimiza-type">
		<label ms-repeat-opt2="_optimizaOpts" class="ml20">
			<input type="radio" ms-duplex-text="sweetyOptimizaType" ms-value="opt2.value" />
			<span ms-text="opt2.label" />
		</label>
	</div>
	<div ms-visible="sweetyOptimizaType==3" pub-name="sweetyRatio" pub-mod="modules/scale.base" class="optimiza-ratio" />
</div>
<!-- sweetyOptimiza E -->
<div class="M-PageCreativeDetailSweetyList">
	<div class="list-head">
		<span class="list-name">{% 创意包 %}</span>
		<div class="list-optimiza">
			<div class="optimiza-head">
				<span class="optimiza-btn  uk-icon-pencil-square-o" ms-click="evToggleSweetyOptimiza" />
				<span>{% 策略： %}</span>
				<span ms-repeat-opt1="_optimizaOpts" ms-text="opt1.label" ms-if-loop="sweetyOptimizaType==opt1.value" class="optimiza-state" />
			</div>
		</div>
	</div>
	<div class="list-body">
		<div class="list-wrap" pub-name="sweetyScroller" pub-mod="@base/common/base.scroller">
			<div class="list-inner">
				<div ms-repeat-sweety="sweeties" class="list-item" ms-class-1="alt:$index%2">
					<div class="logo">
						<a ms-href="#sweety/edit/{{sweety._id}}" target="_blank">
							<img ms-src="sweety.Cover" ms-on-error="evImageError(this,'whisky')" />
						</a>
					</div>
					<div class="name" ms-text="sweety.Name"/>
					<div class="tags">
						<span>{% 标签： %}</span>
						<div class="tag_list">
							<span ms-repeat-tag="sweety.Labels" ms-text="tag" />
						</div>
						<span ms-click="evRemoveSweety(sweety)" class="delete" title="{% 删除 %}"><i class="uk-icon-times"></i></span>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="list-foot">
		<button ms-visible="_showSweetySelectBtn" ms-click="evAddSweetyClick" onerror="this.src='{{_defaultSweetyThumb}}'" class="btn btn-default">{% 添加创意包 %}</button>
	</div>
</div>
<!-- Sweety E -->
<!-- Relation S -->
<div class="M-PageCreativeDetailRelation" pub-name="relation" pub-mod="campaign/modules/relation.base" />
<!-- Relation E -->
</div>
<!-- Whisky S -->
<!-- whiskyOptimiza S -->
<div ms-visible="_showWhiskyOptimiza" class="optimiza-body M-PageCreativeDetailWhiskyOptimiza">
	<div class="optimiza-type">
		<label ms-repeat-opt4="_optimizaOpts" class="ml20">
			<input type="radio" ms-duplex-text="whiskyOptimizaType" ms-value="opt4.value" />
			<span ms-text="opt4.label" />
		</label>
	</div>
	<div ms-visible="whiskyOptimizaType==3" pub-name="whiskyRatio" pub-mod="modules/scale.base" class="optimiza-ratio" />
</div>
<!-- whiskyOptimiza S -->
<div class="M-PageCreativeDetailWhiskyList" ms-class-1="full:_adType==2">
	<div class="list-head">
		<span class="list-name">{% 落地页 %}</span>
		<div class="list-optimiza">
			<div class="optimiza-head">
				<span class="optimiza-btn uk-icon-pencil-square-o" ms-click="evToggleWhiskyOptimiza()" />
				<span>{% 策略： %}</span>
				<span ms-repeat-opt3="_optimizaOpts" ms-text="opt3.label" ms-if-loop="whiskyOptimizaType==opt3.value" class="optimiza-state" />
			</div>
		</div>
	</div>
	<div class="list-body">
		<div class="list-wrap" pub-name="whiskyScroller" pub-mod="@base/common/base.scroller">
			<div class="list-inner">
				<div ms-repeat-whisky="whiskies" class="list-item" ms-class-1="alt:$index%2">
					<div class="logo">
						<a ms-href="whisky.preview"  target="_blank">
							<img ms-src="whisky.Cover" ms-on-error="evImageError(this,'whisky')" />
						</a>
					</div>
					<div class="name" ms-text="whisky.Name" />
					<div class="address">
						<span>{% 预览地址： %}</span>
						<a ms-if="whisky.Type == 1" ms-href="whisky.Preview" ms-text="whisky.Preview" target="_blank" />
						<a ms-if="whisky.Type == 2" ms-href="whisky.Material" ms-text="whisky.Material" target="_blank" />
					</div>
					<span ms-click="evRemoveWhisky(whisky)" class="delete" title="{% 删除 %}"><i class="uk-icon-times"></i></span>
				</div>
			</div>
		</div>
	</div>
	<div class="list-foot">
		<button ms-visible="_showWhiskySelectBtn" ms-click="evAddWhiskyClick" class="btn btn-default">{% 添加落地页 %}</button>
	</div>
</div>
<!-- Whisky E -->
